package com.xhl.util;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.JSON;

public class JsonUtil {

    public static List<?> getList() {
        List<?> list = new ArrayList<>();
        return list;
    }

    public static String getJsonString4JavaPOJO(Object javaObj) {

        String json = JSON.toJSONString(javaObj);
        return json.toString();

    }


}